package com.systemframework.sys.dto.request;

import com.systemframework.sys.dto.request.common.PageResponseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * @author summer
 * @date 2023-03-20 13:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysRoleRequestDTO extends PageResponseDTO implements Serializable {

    private List<Integer> menuIds;

    private Integer id;

    @NotBlank(message = "角色名称不能为空")
    private String name;

    private String context;

    @NotBlank(message = "角色标识不能为空")
    private String mark;



}
